package com.grass.p019lv.databinding;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.databinding.DataBindingComponent;
import androidx.databinding.ViewDataBinding;
import com.androidsa.bttsddka.R;
import com.grass.p019lv.activity.VideoPlayActivity;
import com.grass.p019lv.generated.callback.OnClickListener;

/* renamed from: com.grass.lv.databinding.VideoPlayerWatchNumLayoutBindingImpl */
public class VideoPlayerWatchNumLayoutBindingImpl extends VideoPlayerWatchNumLayoutBinding implements OnClickListener.Listener {
    private static final ViewDataBinding.IncludedLayouts sIncludes = null;
    private static final SparseIntArray sViewsWithIds;
    private final View.OnClickListener mCallback79;
    private final View.OnClickListener mCallback80;
    private final View.OnClickListener mCallback81;
    private final View.OnClickListener mCallback82;
    private long mDirtyFlags;
    private final LinearLayout mboundView0;
    private final TextView mboundView2;
    private final TextView mboundView3;

    /* access modifiers changed from: protected */
    @Override // androidx.databinding.ViewDataBinding
    public boolean onFieldChange(int i, Object obj, int i2) {
        return false;
    }

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        sViewsWithIds = sparseIntArray;
        sparseIntArray.put(R.id.lease_txt_ll, 4);
    }

    public VideoPlayerWatchNumLayoutBindingImpl(DataBindingComponent dataBindingComponent, View view) {
        this(dataBindingComponent, view, mapBindings(dataBindingComponent, view, 5, sIncludes, sViewsWithIds));
    }

    private VideoPlayerWatchNumLayoutBindingImpl(DataBindingComponent dataBindingComponent, View view, Object[] objArr) {
        super(dataBindingComponent, view, 0, (TextView) objArr[1], (TextView) objArr[4]);
        this.mDirtyFlags = -1;
        this.leaseBack.setTag(null);
        LinearLayout linearLayout = (LinearLayout) objArr[0];
        this.mboundView0 = linearLayout;
        linearLayout.setTag(null);
        TextView textView = (TextView) objArr[2];
        this.mboundView2 = textView;
        textView.setTag(null);
        TextView textView2 = (TextView) objArr[3];
        this.mboundView3 = textView2;
        textView2.setTag(null);
        setRootTag(view);
        this.mCallback79 = new OnClickListener(this, 1);
        this.mCallback81 = new OnClickListener(this, 3);
        this.mCallback82 = new OnClickListener(this, 4);
        this.mCallback80 = new OnClickListener(this, 2);
        invalidateAll();
    }

    @Override // androidx.databinding.ViewDataBinding
    public void invalidateAll() {
        synchronized (this) {
            this.mDirtyFlags = 8;
        }
        requestRebind();
    }

    @Override // androidx.databinding.ViewDataBinding
    public boolean hasPendingBindings() {
        synchronized (this) {
            if (this.mDirtyFlags != 0) {
                return true;
            }
            return false;
        }
    }

    @Override // androidx.databinding.ViewDataBinding
    public boolean setVariable(int i, Object obj) {
        if (170 == i) {
            setStatus((Integer) obj);
        } else if (83 == i) {
            setHeight((Integer) obj);
        } else if (34 != i) {
            return false;
        } else {
            setClick((VideoPlayActivity.OnClick) obj);
        }
        return true;
    }

    @Override // com.grass.p019lv.databinding.VideoPlayerWatchNumLayoutBinding
    public void setStatus(Integer num) {
        this.mStatus = num;
        synchronized (this) {
            this.mDirtyFlags |= 1;
        }
        notifyPropertyChanged(170);
        super.requestRebind();
    }

    @Override // com.grass.p019lv.databinding.VideoPlayerWatchNumLayoutBinding
    public void setHeight(Integer num) {
        this.mHeight = num;
        synchronized (this) {
            this.mDirtyFlags |= 2;
        }
        notifyPropertyChanged(83);
        super.requestRebind();
    }

    @Override // com.grass.p019lv.databinding.VideoPlayerWatchNumLayoutBinding
    public void setClick(VideoPlayActivity.OnClick onClick) {
        this.mClick = onClick;
        synchronized (this) {
            this.mDirtyFlags |= 4;
        }
        notifyPropertyChanged(34);
        super.requestRebind();
    }

    /* access modifiers changed from: protected */
    /* JADX WARNING: Removed duplicated region for block: B:20:0x003a  */
    /* JADX WARNING: Removed duplicated region for block: B:23:0x0045  */
    /* JADX WARNING: Removed duplicated region for block: B:26:0x0066  */
    /* JADX WARNING: Removed duplicated region for block: B:29:0x006f  */
    /* JADX WARNING: Removed duplicated region for block: B:34:? A[RETURN, SYNTHETIC] */
    @Override // androidx.databinding.ViewDataBinding
    public void executeBindings() {
        long j;
        int i;
        long j2;
        synchronized (this) {
            j = this.mDirtyFlags;
            this.mDirtyFlags = 0;
        }
        Integer num = this.mStatus;
        Integer num2 = this.mHeight;
        VideoPlayActivity.OnClick onClick = this.mClick;
        long j3 = j & 9;
        int i2 = 0;
        if (j3 != 0) {
            boolean z = true;
            if (ViewDataBinding.safeUnbox(num) != 1) {
                z = false;
            }
            if (j3 != 0) {
                j |= z ? 32 : 16;
            }
            if (!z) {
                i = 8;
                j2 = 10 & j;
                if (j2 != 0) {
                    i2 = ViewDataBinding.safeUnbox(num2);
                }
                if ((8 & j) != 0) {
                    this.leaseBack.setOnClickListener(this.mCallback80);
                    this.mboundView0.setOnClickListener(this.mCallback79);
                    this.mboundView2.setOnClickListener(this.mCallback81);
                    this.mboundView3.setOnClickListener(this.mCallback82);
                }
                if ((j & 9) != 0) {
                    this.mboundView0.setVisibility(i);
                }
                if (j2 == 0) {
                    VideoPlayActivity.setViewHeight(this.mboundView0, i2);
                    return;
                }
                return;
            }
        }
        i = 0;
        j2 = 10 & j;
        if (j2 != 0) {
        }
        if ((8 & j) != 0) {
        }
        if ((j & 9) != 0) {
        }
        if (j2 == 0) {
        }
    }

    @Override // com.grass.p019lv.generated.callback.OnClickListener.Listener
    public final void _internalCallbackOnClick(int i, View view) {
        boolean z = false;
        if (i == 1) {
            VideoPlayActivity.OnClick onClick = this.mClick;
            if (onClick != null) {
                z = true;
            }
            if (z) {
                onClick.emptyClick();
            }
        } else if (i == 2) {
            VideoPlayActivity.OnClick onClick2 = this.mClick;
            if (onClick2 != null) {
                z = true;
            }
            if (z) {
                onClick2.btnBack();
            }
        } else if (i == 3) {
            VideoPlayActivity.OnClick onClick3 = this.mClick;
            if (onClick3 != null) {
                z = true;
            }
            if (z) {
                onClick3.shareForVideo();
            }
        } else if (i == 4) {
            VideoPlayActivity.OnClick onClick4 = this.mClick;
            if (onClick4 != null) {
                z = true;
            }
            if (z) {
                onClick4.buyVip();
            }
        }
    }
}
